<html>
<head>
      <script src="../../../Grid/GridE.js"> </script>
      <style>
         /* Examples shared styles */
         .ExampleHeader,.ExampleName,.ExampleShort,.ExampleDesc,.ExampleErr { max-height:999999px; }
         .ExampleHeader { font:normal 12px Arial; color:blue; }
         .ExampleHeader b { color:#800; }
         .ExampleHeader i { font-style:normal; font-weight:bold; color:black; }
         .ExampleHeader u { font-weight:bold; text-decoration:none; padding:0px 2px 0px 2px; color:#0B0; }
         .ExampleName { font:bold 30px Arial; padding:5px 0px 5px 0px; }
         .ExampleShort { font:italic 15px Arial; margin-bottom:10px; padding-top:5px; }
         .ExampleDesc { font:14px/17px Arial; margin:0px 5px 10px 5px; padding:5px; border:1px solid #AAA; }
         .ExampleErr { font:14px/30px Arial; margin:50px auto 10px auto; padding:5px; border:1px solid black; color:red; width:800px; text-align:center; display:none; }
         .ExampleBorder { margin:0px 5px 0px 5px; clear:both; zoom:1; }
         .ExampleDesc ul { padding:0px 0px 0px 15px; margin:10px 0px 0px 0px; }
         .ExampleDesc li { padding-bottom:8px; line-height:18px; }
         .ExampleDesc h4 { font:bold 15px/20px Arial; margin:0px; padding:0px 6px 0px 6px; background:#87DAE5; border:1px solid #888; color:black; display:inline; }
         .ExampleDesc u { font-size:11px; text-decoration:none; }
         .ExampleDesc .Link { text-decoration:underline; color:blue; cursor:pointer; }
         @media (max-height:800px) { 
            .ExampleDesc { font-size:13px; line-height:15px; margin:0px 5px 5px 5px; padding:3px 5px; } 
            .ExampleDesc br { display:none; }
            .ExampleName { font:20px Arial; padding:0px; }
            .ExampleShort { font-size:13px; }
            }

         /* Example special styles */
         .GWGanttCustom1In { background:#FDA; color:#3D7FC2; font:bold 11px Verdana; }
         .GWGanttCustom1Out { border:1px dotted blue; margin:2px; }
         .GWGanttCustom2In { background:white; color:gray; font:italic 11px Verdana; }
         .GWGanttCustom2Out { margin:0px; border:2px solid pink; padding:0px; }
      </style>
   </head>
   <body>
      <center class="ExampleHeader"><script>document.write(location.href.replace(/(.*)(\/Examples\/|\/ExamplesGantt\/)([^\/]+)\/([^\/]+)\/([^\/]+)$/,"$2<b>$3</b>/<i>$4</i>/$5").replace(/([^<]|^)(\/|\.)/g,"$1<u>$2</u>"));</script></center>
      <center class="ExampleName">Gantt Run XML file</center>
      <center class="ExampleShort">Creates Gantt Run data from and saves changes back to XML file on disk</center>
      <div class="ExampleErr">
         <script> if(location.protocol=="file:") document.write("<style>.ExampleDesc, .ExampleBorder {display:none;} .ExampleErr { display:block; } </style>"); </script>
         Do <b>not</b> run this file locally!<br />Run it from your local or remote web http server where is installed IIS and ASP.NET (1.0, 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, ...).<br>
      </div>
      <div class="ExampleDesc">
         <i>Source files:</i> <h4>RunFile.html</h4> (this html page), <a href="RunDef.xml" target="_blank"><h4>RunDef.xml</h4></a> (static XML layout), 
         <a href="RunData.xml" target="_blank"><h4>RunData.xml</h4></a> (source XML data file), 
         <a href="RunFileUpload.aspx" target="_blank"><h4>RunFileUpload.aspx</h4></a> (server script saves XML data to the RunData.xml file), 
         <a href="RunSources.xml" target="_blank"><h4>RunSources.xml</h4></a> (static XML layout and data for right grid), 
      </div>
      <div class="ExampleDesc">
         This example demonstrates <b>Continuous Run</b>, complex and universal bar type. It supports more bars in one cell, with different features, size, color, class, text and tooltip.<br /> 
         For more Gantt Run features see Gantt <b>Local examples</b> or <b>Gantt tutorials</b>. 
         For more ways of database communication see <b>Basic Ajax</b> or <b>Form Submit</b> ASP.NET examples.
      </div>
      <div class="ExampleBorder" style="padding-right:110px;">
         <div style='width:105px; height:500px; overflow:hidden; float:right; margin-right:-110px;'>
            <bdo Sync="1" Data_Url="RunSources.xml"></bdo>
         </div>
         <div style='width:100%; height:800px; overflow:hidden;'>
            <bdo Sync="1"       
               Layout_Url="RunDef.xml" 
               Data_Url="RunData.xml"
               Upload_Url="RunFileUpload.aspx"
               Upload_Type="Body,Accepted" Upload_Flags="NoIO" Upload_Attrs="T,S,R,SCanEdit,GGanttRunFormat,GGanttRunSave,GGanttRunError,GGanttRunAdjustResize,GGanttRunAdjustSlide,GGanttRunAdjustCopy"
               ></bdo>
         </div>
      </div>
      <script>
         // Changes style also for Run sources
         Grids.OnAfterSetStyle = function(G,name) { 
         if(G.id!="RunDB") return;
         var R = Grids.RunSources;
         if(!R) return;
         if(name=="GB") name = "GM"; // Borders style is too wide
         if(R.Style!=name) R.SetStyle(name,null,1);
         }
      </script>

      <!-- Google Analytics code run once for trial -->
      <script>
         var TGTrial = document.cookie.match(/TGTrialVB\s*=\s*(\d+)/), TGIndex = 0x10000000;
         if(!TGTrial||!(TGTrial[1]&TGIndex)) setTimeout(function(){
            var n = "RunTrialVBRunFile", d = (new Date((new Date).getTime()+31536000000)).toUTCString(); document.cookie = "TGTrialVB="+((TGTrial?TGTrial[1]:0)|TGIndex)+";expires="+d;
            var u = document.cookie.match(/TGTrialUsed\s*=\s*(\d+)/); u = u ? u[1]-0+1 : 1; if(u<=11) document.cookie = "TGTrialUsed="+u+";path=/;expires="+d;
            var s = "<div style='width:0px;height:0px;overflow:hidden;'><iframe src='http"+(document.location.protocol=="https"?"s":"")+"://www.treegrid.com/Stat/GA.html?productName="
                 +(u==1||u==3||u==5||u==10?"UsedTrial"+u:n)+"' onload='var T=this;setTimeout(function(){document.body.removeChild(T.parentNode.parentNode);},1000);'/></div>";
            var F = document.createElement("div"); F.innerHTML = s; document.body.appendChild(F);
            },100);
      </script>

   </body>
</html>